package com.example.kotlin_room

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.therouter.TheRouter

class SplashActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        TheRouter.build("http://bdnrc.org.cn/home")
            .navigation(this)
        finish()
    }

    override fun onBackPressed() {
        // 屏蔽返回键
    }
}